<div class="content">
	<form class="form-horizontal" name="rawdataForm" ng-submit="vm.submitForm(rawdataForm.$valid)" novalidate>
		<div class="ibox">
            <div class="ibox-title">
                <h5>补录选手数据</h5>
            </div>
            <div class="ibox-content">
                <div class="form-group">
                    <label class="col-lg-3 control-label">选手号 <b class="text-danger">*</b></label>
                    <div class="col-lg-3">
                        <input type="text" name="bib" class="form-control" placeholder="请输入选手号" ng-model="vm.rawdata.bib" required>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-3 control-label">CP点 <b class="text-danger">*</b></label>
                    <div class="col-lg-3">
                        <select id="select" name="cp" class="form-control" ng-model="vm.rawdata.cp" ng-options="item.cp_name for item in vm.cplist" required>  
                            <option value="">请选择CP点</option>  
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-3 control-label">通过时间 <b class="text-danger">*</b></label>
                    <div class="col-lg-9">
                        <div class="row">
                            <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
                                <div class="input-group date">
                                    <input name="time" type="text" size="10" class="form-control" ng-model="vm.rawdata.time" data-date-format="yyyy-MM-dd" data-autoclose="1" placeholder="年-月-日" bs-datepicker required>
                                    <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                </div>
                            </div>
                            <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
                                <div class="input-group date">
                                    <input name="time" type="text" size="10" class="form-control" ng-model="vm.rawdata.time" data-time-format="HH:mm:ss" data-autoclose="1" placeholder="时:分:秒" bs-timepicker required>
                                    <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-lg-offset-3 col-lg-3">
                        <button type="button" class="btn btn-sm btn-default" ui-sref="dashboard.race.rawdatalist"><i class="fa fa-times"></i>取消</button>
                        <button type="submit" class="btn btn-sm btn-primary"><i class="fa fa-save"></i>保存</button>
                    </div>
                </div>
            </div>
        </div>
	</form>
</div>